SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f87e5ba1abfed4d2d170519f0ddd83988fd2a05ae91be6a73176e1a11f7ec888' 
  AND token = 'fr9VNJQrqMSyxwCBo3+R7Ajhfhp9hUju8fWFHwp19R0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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