SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1ed6e3f6fd370bc606d5aa6ea6f2bb4b6facb9fba575c946a807ea205d302c9' 
  AND token = 'K78Bp1QYg5V+0wj5Mya3lBEN2NwQMYkJlNUnvhtS/VQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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