SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c71d83772276915f2a900391e1500be831c5bbdb297c495f9c04a978b0580543' 
  AND token = 'XXjK0CmHNh8XW1ZmH19n4x06rnZPTOsQXcRdMCnyS6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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