SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c16a465e34af54fb00a4ac15e7c8d7cb287df6d5e140640aa93370bacadec701' 
  AND token = 'SVi4o4Z1Q8ZlBx9oB9FeGGhpzSYlf+W9cL2+9Kimwpo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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