SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2cc52815626517acb7f3d916517c08fc56938f1d5637daec2b03c6b2ff2f9304' 
  AND token = '02irmsQ+xJ8CGLHQUXwaUkwrZd3bEugZtNgfxNy62FE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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