SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1af74f5addec3a72704b95e76c99f2a47fd812e6749b2321c57845146c5f607d' 
  AND token = '50U83P9mzojN5VUSe7qAEAJEmiSCk9c+6slp84e41Oo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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