SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4c51adecbdbf72c1d6966347882dcb5380d317473fac864d9e62e359f275461' 
  AND token = 'oHXX6bvc6T85vNxA3u88/g5ugclofwM+GGysNc2vf6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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