SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa2d97599b1e33bb8ca13d6c3b65c25d66e61d06834dae640343ac98b8215f9f' 
  AND token = 'BiJ667sLKdcecW97ab1fB2NtL+ge57Bi3mt/CIC7rTI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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