SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1991c6d7ee0abbe4d7c88dfbd5800ec20cb9d9f4a3765d5a630ace48776cade2' 
  AND token = 'PUD/t2c3X/Wx7Jh+JCjcodhdkXWKgWAUl8LdGHeoJ78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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