SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f0c1c4cb18de52381e7b477032ca4af359cfd4dddc867cd52460670ac0d915b' 
  AND token = 'RQuho2dToIV8s30gPPF0enZ4JFbSW8euFSuo/bwUmzE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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