SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a388e1511107d28cf8330b3db490ae3fadbecc4597c9b8e5898663690679317' 
  AND token = 'ryvzAuPv4VSg3tKZw+Tc7G79NZjsH7ovEMexCW3Vhvw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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