SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd21b564bae757dcaeb6005f386b9cdf61c8d486cafed8b1f1b57e5bde0750090' 
  AND token = 'Y5OijYOeFDrgYrCZLBeSBSRRrs7cbaioDEw+o7KGjCk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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