SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f0a4ac76eb26775dadcedf66082b2ab8f6c03804d97f3a78e21e188c5cec4979' 
  AND token = 'QjnxW9V2nCjACaFZ/2FKASpzB9ASytxLDoeUV36w5Ms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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