SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1d039358298f93dc90c53a88f0aca35b5ae9333e3cffeb49b5f8a5f60567a14' 
  AND token = 'jZ1qOYqxkM1ezd0u7RXNRAz7GMbVGcTXIE8RB9zwf/8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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