SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b317d1e6f8e56a393d10107c300465dcb2eab0d7cb0148d93173b5572f5487e' 
  AND token = 'xZluH2qxYyFyD5blA/OHLA9PwfIG3nIRfyj6RXuxdrQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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