SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a7d1ef381782a50d455a44c49baa372490440fea254a8c1edb1d7d45f45a754' 
  AND token = 'uE+35Z7j6IsdReALVc6Z44rqTplgXCgSiG421Wylg3o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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