SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b3af2815ad7444e223e4081f2df88d901d656a45e3681e1cb1022167e62066b0' 
  AND token = 'Le4qe8r4qw0Lw1c3mpvxNuYeRvn8LGM6mqqxUBSpd4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}