SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4f1e2e3da4491958d2686ab15f461e204432121d8df596cda5deb5f674881a86' 
  AND token = 'tiwGpkjKBXMD4ELJO+h1wav1UQMm7S+AjLZ3vbo+PV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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