SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'da1cc2a44af22962ae775c65c758c3ceb37f7ad22f8806b93deb65469c393f19' 
  AND token = 'Tgwn3PtKElwicBtO2Ou24J7/d7XGmyHKFq3S7mvhaDQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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