SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd4768e876eec4a39195dcd3430d6ffce45a0448f7cd1f6cc52e1239f531598a' 
  AND token = 'ceOfYflWx5Qmk+maazUzJqoO8r7pCHUMxBYsEU3Q/WE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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