SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '022f5b28a8043d476479c6e6d800184a1c3b548767f64d2d9eb40e784b26383a' 
  AND token = 'zEf1lOglvOraDinQsOoORKukEl6V6emkf6X5ZI0CdyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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