SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b1fb59027675ddd2107f088e3c8310cbc520f70263b4a68ae3f7f35f06ed5b2' 
  AND token = 'YBYm7xwrRMCRdXlgaQFXt4Am3bACoKQTwqilfZSusWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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