SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02e5869db71f8707a538dc476e16708bd0c36077703d864d16556b5391816ba5' 
  AND token = 'q8sG9eMjWa5JSLSWCj09w+CFLBShiAjDgfY80ASPqJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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