SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d2390266684284427bc0249dcba393a6ff666e32032db8c9e267c8bfaf28f78' 
  AND token = 'oYtbtE/rK6IaHm1UI4yFZ+dSFi2VEmamGoHWfQxnRUs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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