SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '765396a06b06de93bdefd52338abbadf757a86c9247e3227fdb9158ddef64406' 
  AND token = 'c4HFujc7c4CtnRPLUFaN3mCLyXRpf/ledjr6zQWOafQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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