SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8ee16180e41536b9ae1126ae667d43072035993f54617404b72118e4164b1e2' 
  AND token = 'Fl2fEwwMHlaB/jZ8wjBYRCvFk0CLRUAff5HVJFiit/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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