SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '745ca006012ed6fec0a58fbb4e9fe417c4c17f62f5bdb846336d140a552e43d7' 
  AND token = 'JJW9ZNd/LThwlBNTmPstMQYdBvzCmh0smniEAPBkuic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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