SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c32f9fef7dd710c5cf3569253c7873fe29275bc15d9c4a0f03357c999ca97747' 
  AND token = 'C5Nh/w0BTqK4EPTJJdjKzlhgCSBNBEq8Q4C4aAKjNLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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