SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0743b495977022b6081c14ff5e45037e41514a32780df24ab363572990f16bad' 
  AND token = 'tHTAPpH0x1X3GMQwePWXp1lCGsqARS/OqCefCpSCS98=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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