SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6097a8623ad14ef327d5bd2340dc88d51d7cfa60d1ab102a7f1f16df0204453a' 
  AND token = 'IeN/Q4GFGnaFB4QSKDbR5Jcfz2CqTrIwYEHj0RdAS6A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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