SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd54ed13fecaf382f4a093dbb752b410069b043aed3ee8fb04b9370b1830ddd2b' 
  AND token = 'TRIUlK+LkBVJbOjqyaOwKED5r2ixA3dtblqy0MnBmps=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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