SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '407121388c950d3725ad8592306fda2ea4d0f3bb316ab0e5ec3ebd7656ee5ba2' 
  AND token = 'n/ZkPlv7sdyc3uRTZWU63UwqBZwE69nKktVeltW8QGE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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